package com.xt.LibaryDeskManager.entity;

/**
 * 管理员实体类
 * @author 童归权
 * @version 1.0 2021/1/28
 */
public class Admin {
    /**
     * 管理员工号
     */
    private String adminNo;
    /**
     * 用户姓名
     */
    private String username;
    /**
     * 密码
     */
    private String password;
    /**
     * 权限
     */
    private int level;

    public String getAdminNo() {
        return adminNo;
    }

    public void setAdminNo(String adminNo) {
        this.adminNo = adminNo;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public Admin() {
    }

    public Admin(String adminNo, String username, String password, int level) {
        this.adminNo = adminNo;
        this.username = username;
        this.password = password;
        this.level = level;
    }
}
